package com.ljx.video.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ljx.video.domain.entity.File;
import com.ljx.video.domain.vo.req.FileUploadReq;
import org.springframework.http.ResponseEntity;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface VideoService extends IService<File> {
    void uploadChunk(FileUploadReq req);

    Boolean check(String fileMd5);

    File mergeChunk(FileUploadReq req);

    void download(Long fileId, String tsNum, HttpServletRequest request, HttpServletResponse response);

    void convertFile(Long fileId);
}
